package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author admin
 * @since 2021-05-29
 */
@Data
@TableName("t_user")
public class Tuser {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String username;

    private String password;
    private String email;

    private String phone;

    private String avatar;
//    @TableField(typeHandler = ListHandler.class)
//    private List<Long> permission;
}
